/*
 * Created by JFormDesigner on Wed Jun 26 14:37:06 GMT+08:00 2024
 */

package scct.zhouyuzhe.ui;

import java.awt.*;
import javax.swing.*;

/**
 * @author Joker
 */
public class FormMain extends JFrame {
    public FormMain() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        // Generated using JFormDesigner Evaluation license - Kevin
        menuBar1 = new JMenuBar();
        menu1 = new JMenu();
        menuItem1 = new JMenuItem();
        menuItem2 = new JMenuItem();
        menu2 = new JMenu();
        menuItem3 = new JMenuItem();
        menuItem4 = new JMenuItem();
        menuItem5 = new JMenuItem();
        menuItem6 = new JMenuItem();
        menu3 = new JMenu();
        menuItem7 = new JMenuItem();
        toolBar1 = new JToolBar();
        btnUser = new JButton();
        btnType = new JButton();
        btnBrand = new JButton();

        //======== this ========
        setTitle("\u5546\u5e97\u7ba1\u7406\u7cfb\u7edf");
        Container contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== menuBar1 ========
        {

            //======== menu1 ========
            {
                menu1.setText("\u7cfb\u7edf");

                //---- menuItem1 ----
                menuItem1.setText("\u7528\u6237\u7ba1\u7406");
                menu1.add(menuItem1);

                //---- menuItem2 ----
                menuItem2.setText("\u9000\u51fa");
                menu1.add(menuItem2);
            }
            menuBar1.add(menu1);

            //======== menu2 ========
            {
                menu2.setText("\u7ba1\u7406");

                //---- menuItem3 ----
                menuItem3.setText("\u54c1\u724c\u7ba1\u7406");
                menu2.add(menuItem3);

                //---- menuItem4 ----
                menuItem4.setText("\u7c7b\u522b\u7ba1\u7406");
                menu2.add(menuItem4);

                //---- menuItem5 ----
                menuItem5.setText("\u5546\u54c1\u7ba1\u7406");
                menu2.add(menuItem5);

                //---- menuItem6 ----
                menuItem6.setText("\u9500\u552e\u7ba1\u7406");
                menu2.add(menuItem6);
            }
            menuBar1.add(menu2);

            //======== menu3 ========
            {
                menu3.setText("\u5173\u4e8e");

                //---- menuItem7 ----
                menuItem7.setText("\u6211\u7684\u9879\u76ee");
                menu3.add(menuItem7);
            }
            menuBar1.add(menu3);
        }
        setJMenuBar(menuBar1);

        //======== toolBar1 ========
        {
            toolBar1.setFloatable(false);

            //---- btnUser ----
            btnUser.setIcon(new ImageIcon(getClass().getResource("/icon/\u7528\u6237.png")));
            btnUser.setToolTipText("\u7528\u6237\u7ba1\u7406");
            toolBar1.add(btnUser);

            //---- btnType ----
            btnType.setIcon(new ImageIcon(getClass().getResource("/icon/\u5546\u54c1.png")));
            btnType.setToolTipText("\u54c1\u724c\u7ba1\u7406");
            toolBar1.add(btnType);

            //---- btnBrand ----
            btnBrand.setIcon(new ImageIcon(getClass().getResource("/icon/\u7c7b\u578b.png")));
            btnBrand.setToolTipText("\u79cd\u7c7b\u7ba1\u7406");
            toolBar1.add(btnBrand);
        }
        contentPane.add(toolBar1, BorderLayout.NORTH);
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    // Generated using JFormDesigner Evaluation license - Kevin
    private JMenuBar menuBar1;
    private JMenu menu1;
    private JMenuItem menuItem1;
    private JMenuItem menuItem2;
    private JMenu menu2;
    private JMenuItem menuItem3;
    private JMenuItem menuItem4;
    private JMenuItem menuItem5;
    private JMenuItem menuItem6;
    private JMenu menu3;
    private JMenuItem menuItem7;
    private JToolBar toolBar1;
    private JButton btnUser;
    private JButton btnType;
    private JButton btnBrand;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
